The Average Distance between Nodes in the Cyclic Tower of Hanoi Digraph
نویسنده
چکیده
The cyclic Tower of Hanoi puzzle is similar to the traditional tower puzzle, but with the added restriction that all disks move between pegs in a clockwise direction, from peg A to B, from B to C, or from C to A. Many aspects of this puzzle have been analyzed, including the average distance in the state digraph from a random state to a designated goal state in which all disks are on one peg. Using similar but somewhat cleaner methods, we extend this result by computing the mean and variance of the distance between a random pair of states. Our results are compared to analogous ones for the traditional Tower of Hanoi puzzle.
منابع مشابه
Graphs S ( n , k ) and a variant of the Tower of Hanoi problem ∗
For any n ≥ 1 and any k ≥ 1, a graph S(n, k) is introduced. Vertices of S(n, k) are n-tuples over {1, 2, . . . , k} and two n-tuples are adjacent if they are in a certain relation. These graphs are graphs of a particular variant of the Tower of Hanoi problem. Namely, the graphs S(n, 3) are isomorphic to the graphs of the Tower of Hanoi problem. It is proved that there are at most two shortest p...
متن کاملShortest paths in the Tower of Hanoi graph and finite automata
Abstract. We present efficient algorithms for constructing a shortest path between two configurations in the Tower of Hanoi graph, and for computing the length of the shortest path. The key element is a finite-state machine which decides, after examining on the average only a small number of the largest discs (asymptotically, 63 38 ≈ 1.66), whether the largest disc will be moved once or twice. ...
متن کاملAlgorithms and Bounds for Tower of Hanoi Problems on Graphs
The classic Tower of Hanoi puzzle was marketed by Edouard Lucas in 1883 under the name ”Tower of Hanoi” [31]. There, n disks are due to be moved from one peg to another, using an auxiliary peg while never placing a bigger disk above a smaller one. Its optimal solution is classic in Computer Science. In this thesis, we study a generalization of the original puzzle. The problem is generalized by ...
متن کاملA multi-hop PSO based localization algorithm for wireless sensor networks
A sensor network consists of a large number of sensor nodes that are distributed in a large geographic environment to collect data. Localization is one of the key issues in wireless sensor network researches because it is important to determine the location of an event. On the other side, finding the location of a wireless sensor node by the Global Positioning System (GPS) is not appropriate du...
متن کاملOn Distances in Sierpiński Graphs: Almost-extreme Vertices and Metric Dimension
Sierpiński graphs S p form an extensively studied family of graphs of fractal nature applicable in topology, mathematics of the Tower of Hanoi, computer science, and elsewhere. An almost-extreme vertex of S p is introduced as a vertex that is either adjacent to an extreme vertex of S p or is incident to an edge between two subgraphs of S p isomorphic to S n−1 p . Explicit formulas are given for...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008